<template>
    <div class="index">
        <router-view />

        <!-- 底部导航 -->
        <van-tabbar v-model="active" route>
            <van-tabbar-item icon="coupon-o" to="/bwl/list"
                >备忘录</van-tabbar-item
            >
            <van-tabbar-item icon="add-o" to="/bwl/add">新建</van-tabbar-item>
            <van-tabbar-item icon="friends-o" to="/mine">我的</van-tabbar-item>
        </van-tabbar>
    </div>
</template>

<script>
export default {
    data() {
        return {
            active: 1,
        };
    },
};
</script>
